@layout("/common/_container.html"){
<style>
.layui-form-label {
    float: left;
    display: block;
    padding: 9px 15px;
    width: 160px;
    font-weight: 400;
    line-height: 20px;
    text-align: right;
}

.layui-card { 
    margin-bottom: 0px;
    border-radius: 2px;
    background-color: #fff;
    box-shadow: 0 1px 2px 0 rgba(0,0,0,.05);
}
</style>
<div class="layui-card">
<div class="layui-card-body">
<div class="layui-form form-board" lay-filter="layuiadmin-form-useradmin" id="layuiadmin-form-useradmin">
@for(auth in authList){
<input type="hidden" id="authId" name="authId" value="${auth.authId}">
 <div class="layui-form-item">
    <div class="layui-inline">
      <label class="layui-form-label">机构名称</label>
      <div class="layui-input-inline">
        <div class="layui-form-mid">${auth.organName}</div>
      </div>
    </div>
    <div class="layui-inline">
      <label class="layui-form-label">机构类型</label>
      <div class="layui-input-inline">
        <div class="layui-form-mid">${auth.organType}</div>
      </div>
    </div>
  </div>
 <div class="layui-form-item">
    <div class="layui-inline">
      <label class="layui-form-label">测绘资质等级</label>
      <div class="layui-input-inline">
      <div class="layui-form-mid">${auth.mappingGrade}</div>
      </div>
    </div>
    <div class="layui-inline">
      <label class="layui-form-label">测绘资质证书编号</label>
      <div class="layui-input-inline">
      	<div class="layui-fomr-mid">${auth.mappingNo}</div>
      </div>
    </div>
  </div>
 <div class="layui-form-item">
    <div class="layui-inline">
      <label class="layui-form-label">组织机构编号</label>
      <div class="layui-input-inline">
      	<div class="layui-form-mid">${auth.organNo}</div>
      </div>
    </div>
    <div class="layui-inline">
      <label class="layui-form-label">申请类型</label>
      <div class="layui-input-inline">
      	<div class="layui-form-mid">${auth.applyType}</div>
      </div>
    </div>
  </div>
 <div class="layui-form-item">
    <div class="layui-inline">
      <label class="layui-form-label">法定代表人姓名</label>
      <div class="layui-input-inline">
      <div class="layui-form-mid">${auth.legalPersonName}</div>
      </div>
    </div>
    <div class="layui-inline">
      <label class="layui-form-label">法定代表人电话</label>
      <div class="layui-input-inline">
      <div class="layui-form-mid">${auth.legalPersonPhone}</div>
      </div>
    </div>
  </div>
 <div class="layui-form-item">
    <div class="layui-inline">
      <label class="layui-form-label">机构地址</label>
      <div class="layui-input-inline">
      <div class="layui-form-mid">${auth.province} ${auth.city} ${auth.area} ${auth.address}</div>
      </div>
    </div>
    <div class="layui-inline">
      <label class="layui-form-label">联系人姓名</label>
      <div class="layui-input-inline">
      	<div class="layui-form-mid">${auth.linkName}</div>
      </div>
    </div>
  </div>
  
   <div class="layui-form-item">
    <div class="layui-inline">
      <label class="layui-form-label">联系人电话</label>
      <div class="layui-input-inline">
      	<div class="layui-form-mid">${auth.linkPhone}</div>
      </div>
    </div>
  
    <div class="layui-inline">
      <label class="layui-form-label">联系人QQ</label>
      <div class="layui-input-inline">
      	<div class="layui-form-mid">${auth.linkQq}</div>
      </div>
    </div>
  </div>
 <div class="layui-form-item">
    <div class="layui-inline">
      <label class="layui-form-label">联系人微信</label>
      <div class="layui-input-inline">
         <div class="layui-form-mid">${auth.linkWechat}</div>
      </div>
    </div>
    <div class="layui-inline">
      <label class="layui-form-label">联系人电子邮箱</label>
      <div class="layui-input-inline">
         <div class="layui-form-mid">${auth.linkEmail}</div>
      </div>
    </div>
  </div>
  
   <div class="layui-form-item">
    <div class="layui-inline">
      <label class="layui-form-label">提交时间</label>
      <div class="layui-input-inline">
      	<div class="layui-form-mid">${auth.updateTime}</div>
      </div>
    </div>
    <div class="layui-inline">
      <label class="layui-form-label">测绘资质扫描件</label>
      <div class="layui-input-inline">
      <div class="layui-form-mid layui-text"><a href='${ctxPath}/static/file/${auth.mappingImage}'>查看图片</a></div>
      </div>
    </div>
  </div>
 <div class="layui-form-item">
    <div class="layui-inline">
      <label class="layui-form-label">组织机构代码证扫描件</label>
      <div class="layui-input-inline">
       <div class="layui-form-mid layui-text"><a href='${ctxPath}/static/file/${auth.organImage}'>查看图片</a></div>
      </div>
    </div>
    <div class="layui-inline">
      <label class="layui-form-label">法定代表人身份证（正面）</label>
      <div class="layui-input-inline">
      	<div class="layui-form-mid layui-text"><a href='${ctxPath}/static/file/${auth.legalFrontImage}'>查看图片</a></div>
      </div>
    </div>
  </div>
 <div class="layui-form-item">
    <div class="layui-inline">
      <label class="layui-form-label">法定代表人身份证（反面）</label>
      <div class="layui-input-inline">
      <div class="layui-form-mid layui-text"><a href='${ctxPath}/static/file/${auth.legalBackImage}'>查看图片</a></div>
      </div>
    </div>
    <div class="layui-inline">
      <label class="layui-form-label">保密协议扫描件</label>
      <div class="layui-input-inline">
      <div class="layui-form-mid layui-text"><a href='${ctxPath}/static/file/${auth.ndaImage}'>查看图片</a></div>
      </div>
    </div>
  </div>
 <div class="layui-form-item">
    <div class="layui-inline">
      <label class="layui-form-label">经办人身份证（反面）</label>
      <div class="layui-input-inline">
      	<div class="layui-form-mid layui-text"><a href='${ctxPath}/static/file/${auth.operatorBackImage}'>查看图片</a></div>
      </div>
    </div>
    <div class="layui-inline">
      <label class="layui-form-label">经办人身份证（正面）</label>
      <div class="layui-input-inline">
      	<div class="layui-form-mid layui-text"><a href='${ctxPath}/static/file/${auth.operatorFrontImage}'>查看图片</a></div>
      </div>
    </div>
    
  </div>
 <div class="layui-form-item">
    <div class="layui-inline">
      <label class="layui-form-label">授权委托书扫描件（盖章）</label>
      <div class="layui-input-inline">
      <div class="layui-form-mid layui-text"><a href='${ctxPath}/static/file/${auth.empowerImage}'>查看图片</a></div>
      </div>
    </div>
</div>
 @if(tool.isNotEmpty(auth.rejectReason)){
  <div class="layui-form-item">
	<div class="layui-inline">
     	<label class="layui-form-label">驳回理由</label>
     	<div class="layui-form-mid layui-text">${auth.rejectReason}</div>
    </div>
   </div>
</div>
@}
  @}
</div>
</div>
</div>


<script>
  layui.config({
	 base: Feng.ctxPath + '/static/layuiadmin/' //静态资源所在路径
  }).extend({
    index: 'lib/index' //主入口模块
  }).use(['index', 'form','laydate'], function(){
    var $ = layui.$
    ,form = layui.form
    ,laydate = layui.laydate;
    
    form.on('radio(applyState)',function(data){
    	if(data.value==1){
    		$("#reject-reson").hide();
    		$("#rejectReson").removeAttr("lay-verify"); 
    	}else{
    		$("#reject-reson").show();
    		$("#rejectReson").attr("lay-verify","required");
    	}
    })
    
    
  })
  </script>
@}
